package cn.mastor.basic.query;

import lombok.Data;

@Data
public class  BaseQuery {
    private String keyword;
    // 当前页
    private Integer currentPage;
    // 每页条数
    private Integer pageSize;
    // limit start,page
    public Integer getStart(){
        return (currentPage - 1) * pageSize;
    }
}
